package com.qianbao.qianbaobusiness.json;

import android.support.annotation.Keep;

/**
 * @author: Routee
 * @date 2018/6/29
 * @mail wangc4@qianbaocard.com
 * ------------1.本类由Routee开发,阅读、修改时请勿随意修改代码排版格式后提交到git。
 * ------------2.阅读本类时，发现不合理请及时指正.
 * ------------3.如需在本类内部进行修改,请先联系Routee,若未经同意修改此类后造成损失本人概不负责。
 */
@Keep
public class UploadResult {

    private UploadFileBean uploadFile;
    private String         resultCode;
    private String         resultMessage;

    public UploadFileBean getUploadFile() {
        return uploadFile;
    }

    public void setUploadFile(UploadFileBean uploadFile) {
        this.uploadFile = uploadFile;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    public static class UploadFileBean {
        /**
         * originalName : magazine-unlock-05-2.3.1026-_101AF9EDB2A9E210A5797FA1BFEB73CF.jpg
         * name : 012dee0fd61e5d13dbb602cbbcd0c7e9.jpg
         * fileUrl : http://img9.qianbaocard.com/public/qianbaolifetest/
         * url : http://img9.qianbaocard.com/public/qianbaolifetest/012dee0fd61e5d13dbb602cbbcd0c7e9.jpg
         * fileType : multipart/form-data
         * ext : .3.1026-_101AF9EDB2A9E210A5797FA1BFEB73CF.jpg
         * size : 149644
         * width : 0
         * height : 0
         * state : SUCCESS
         * fid : 654,1de6219004920681
         */

        private String originalName;
        private String name;
        private String fileUrl;
        private String url;
        private String fileType;
        private String ext;
        private int    size;
        private int    width;
        private int    height;
        private String state;
        private String fid;

        public String getOriginalName() {
            return originalName;
        }

        public void setOriginalName(String originalName) {
            this.originalName = originalName;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getFileUrl() {
            return fileUrl;
        }

        public void setFileUrl(String fileUrl) {
            this.fileUrl = fileUrl;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getFileType() {
            return fileType;
        }

        public void setFileType(String fileType) {
            this.fileType = fileType;
        }

        public String getExt() {
            return ext;
        }

        public void setExt(String ext) {
            this.ext = ext;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getFid() {
            return fid;
        }

        public void setFid(String fid) {
            this.fid = fid;
        }
    }
}
